package com.eshop.modules.activity.vo;

import java.util.List;

public class CombinationQueryVo
{
    private List<StoreCombinationQueryVo> storeCombinationQueryVos;
    private Long lastPage;
    
    public List<StoreCombinationQueryVo> getStoreCombinationQueryVos() {
        return this.storeCombinationQueryVos;
    }
    
    public Long getLastPage() {
        return this.lastPage;
    }
    
    public void setStoreCombinationQueryVos(final List<StoreCombinationQueryVo> storeCombinationQueryVos) {
        this.storeCombinationQueryVos = storeCombinationQueryVos;
    }
    
    public void setLastPage(final Long lastPage) {
        this.lastPage = lastPage;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof CombinationQueryVo)) {
            return false;
        }
        final CombinationQueryVo other = (CombinationQueryVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$lastPage = this.getLastPage();
        final Object other$lastPage = other.getLastPage();
        Label_0065: {
            if (this$lastPage == null) {
                if (other$lastPage == null) {
                    break Label_0065;
                }
            }
            else if (this$lastPage.equals(other$lastPage)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$storeCombinationQueryVos = this.getStoreCombinationQueryVos();
        final Object other$storeCombinationQueryVos = other.getStoreCombinationQueryVos();
        if (this$storeCombinationQueryVos == null) {
            if (other$storeCombinationQueryVos == null) {
                return true;
            }
        }
        else if (this$storeCombinationQueryVos.equals(other$storeCombinationQueryVos)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof CombinationQueryVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $lastPage = this.getLastPage();
        result = result * 59 + (($lastPage == null) ? 43 : $lastPage.hashCode());
        final Object $storeCombinationQueryVos = this.getStoreCombinationQueryVos();
        result = result * 59 + (($storeCombinationQueryVos == null) ? 43 : $storeCombinationQueryVos.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "CombinationQueryVo(storeCombinationQueryVos=" + this.getStoreCombinationQueryVos() + ", lastPage=" + this.getLastPage() + ")";
    }
}
